package cn.com.company.main.client.service;

import java.util.List;

import cn.com.company.main.client.entity.FileModel;
import cn.com.company.main.client.entity.IcbomchildItem;
import cn.com.company.main.client.entity.TIcItem;
import cn.com.company.main.client.entity.TItem;
import cn.com.company.main.client.entity.VwWebbomIcitem;
import cn.com.company.main.client.entity.VwWebbomIcitemSimp;
import cn.com.company.main.client.entity.WebbomUserinfo;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface GreetingServiceAsync {
	void greetServer(String input, AsyncCallback<String> callback)
			throws IllegalArgumentException;

	void checkLoginUser(String loginname, String pwd,
			AsyncCallback<WebbomUserinfo> callback);

	void getIcbomModel(FileModel model, AsyncCallback<List<FileModel>> callback);

	void getIcItemByItemId(String itemId,
			AsyncCallback<List<VwWebbomIcitem>> callback);

	void updateUserPassword(String userId, String oldPwd, String newPwd,
			AsyncCallback<String> callback);

	void getIcbomItem(IcbomchildItem model, String interId,
			AsyncCallback<List<IcbomchildItem>> callback);

	void getItemByConditon(TItem item, AsyncCallback<List<TItem>> callback);

	void getTIcItemByItemId(String itemId, AsyncCallback<List<TIcItem>> callback);

	void getIcbomParent(TIcItem model, String itemId,
			AsyncCallback<List<TIcItem>> callback);

	void getIcItemList(AsyncCallback<List<VwWebbomIcitemSimp>> callback);
}
